package com.xmy.cultivate.feign.study_admin;

import com.xmy.cultivate.config.FeignConfig;
import com.xmy.cultivate.respons.EduTask;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(value = "study-admin",configuration = FeignConfig.class)
public interface IStudyAdminFeignClient {

    /**
     * 查询任务
     *
     */
    @RequestMapping(value = "/api/admin/eduTask/feignTask", method = RequestMethod.GET)
    public List<EduTask> feignTask(@RequestParam(value = "yearPart") String yearPart, @RequestParam(value = "quarterNum") String quarterNum);

}
